A ring homomorphism from R to S is a mapping φ from R to S with the properties
φ(a + b) = φ(a) + φ(b) and
φ(ab) = φ(a)φ(b) for all a and b in R.